package com.zfl.mapper;

import com.zfl.po.UserInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserInfoServiceMapper {

    @Select("select * from userInfo ")
    List<UserInfo> getAllUserInfo();

    @Select("select * from userInfo where userId = #{userId}")
    UserInfo getUserInfoByUserId(String userId);
}
